﻿# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'label.ui'
#
# Created: Mon Jan 18 10:40:09 2010
#      by: PyQt4 UI code generator 4.6.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_widget(object):
    def setupUi(self, widget):
        widget.setObjectName("widget")
        widget.resize(504, 364)
        self.groupBox = QtGui.QGroupBox(widget)
        self.groupBox.setGeometry(QtCore.QRect(30, 60, 211, 281))
        self.groupBox.setObjectName("groupBox")
        self.layoutWidget = QtGui.QWidget(self.groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(30, 80, 151, 41))
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        self.output_diam1 = QtGui.QLabel(self.layoutWidget)
        self.output_diam1.setFrameShape(QtGui.QFrame.Box)
        self.output_diam1.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_diam1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_diam1.setObjectName("output_diam1")
        self.horizontalLayout_3.addWidget(self.output_diam1)
        self.label_6 = QtGui.QLabel(self.layoutWidget)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_3.addWidget(self.label_6)
        self.layoutWidget_2 = QtGui.QWidget(self.groupBox)
        self.layoutWidget_2.setGeometry(QtCore.QRect(30, 130, 151, 41))
        self.layoutWidget_2.setObjectName("layoutWidget_2")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.layoutWidget_2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_7 = QtGui.QLabel(self.layoutWidget_2)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_4.addWidget(self.label_7)
        self.output_width1 = QtGui.QLabel(self.layoutWidget_2)
        self.output_width1.setFrameShape(QtGui.QFrame.Box)
        self.output_width1.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_width1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_width1.setObjectName("output_width1")
        self.horizontalLayout_4.addWidget(self.output_width1)
        self.label_8 = QtGui.QLabel(self.layoutWidget_2)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_4.addWidget(self.label_8)
        self.layoutWidget1 = QtGui.QWidget(self.groupBox)
        self.layoutWidget1.setGeometry(QtCore.QRect(30, 30, 151, 41))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_3 = QtGui.QLabel(self.layoutWidget1)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.output_amount1 = QtGui.QLabel(self.layoutWidget1)
        self.output_amount1.setFrameShape(QtGui.QFrame.Box)
        self.output_amount1.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_amount1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_amount1.setObjectName("output_amount1")
        self.horizontalLayout_2.addWidget(self.output_amount1)
        self.label_4 = QtGui.QLabel(self.layoutWidget1)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.layoutWidget_6 = QtGui.QWidget(self.groupBox)
        self.layoutWidget_6.setGeometry(QtCore.QRect(30, 180, 151, 41))
        self.layoutWidget_6.setObjectName("layoutWidget_6")
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.layoutWidget_6)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_15 = QtGui.QLabel(self.layoutWidget_6)
        self.label_15.setObjectName("label_15")
        self.horizontalLayout_8.addWidget(self.label_15)
        self.output_weight1 = QtGui.QLabel(self.layoutWidget_6)
        self.output_weight1.setFrameShape(QtGui.QFrame.Box)
        self.output_weight1.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_weight1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_weight1.setObjectName("output_weight1")
        self.horizontalLayout_8.addWidget(self.output_weight1)
        self.label_16 = QtGui.QLabel(self.layoutWidget_6)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_8.addWidget(self.label_16)
        self.copy1 = QtGui.QPushButton(self.groupBox)
        self.copy1.setGeometry(QtCore.QRect(50, 230, 131, 41))
        self.copy1.setObjectName("copy1")
        self.layoutWidget2 = QtGui.QWidget(widget)
        self.layoutWidget2.setGeometry(QtCore.QRect(30, 10, 254, 51))
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.input_layout = QtGui.QHBoxLayout(self.layoutWidget2)
        self.input_layout.setObjectName("input_layout")
        self.label = QtGui.QLabel(self.layoutWidget2)
        self.label.setObjectName("label")
        self.input_layout.addWidget(self.label)
        self.input_long = QtGui.QSpinBox(self.layoutWidget2)
        self.input_long.setMaximum(999)
        self.input_long.setSingleStep(1)
        self.input_long.setObjectName("input_long")
        self.input_layout.addWidget(self.input_long)
        self.label_2 = QtGui.QLabel(self.layoutWidget2)
        self.label_2.setObjectName("label_2")
        self.input_layout.addWidget(self.label_2)
        self.input_width = QtGui.QSpinBox(self.layoutWidget2)
        self.input_width.setMaximum(999)
        self.input_width.setProperty("value", 0)
        self.input_width.setObjectName("input_width")
        self.input_layout.addWidget(self.input_width)
        self.label_19 = QtGui.QLabel(self.layoutWidget2)
        self.label_19.setObjectName("label_19")
        self.input_layout.addWidget(self.label_19)
        self.input_line = QtGui.QSpinBox(self.layoutWidget2)
        self.input_line.setMaximum(999)
        self.input_line.setProperty("value", 1)
        self.input_line.setObjectName("input_line")
        self.input_layout.addWidget(self.input_line)
        self.groupBox_2 = QtGui.QGroupBox(widget)
        self.groupBox_2.setGeometry(QtCore.QRect(260, 60, 221, 281))
        self.groupBox_2.setObjectName("groupBox_2")
        self.layoutWidget_3 = QtGui.QWidget(self.groupBox_2)
        self.layoutWidget_3.setGeometry(QtCore.QRect(30, 80, 161, 41))
        self.layoutWidget_3.setObjectName("layoutWidget_3")
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.layoutWidget_3)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_9 = QtGui.QLabel(self.layoutWidget_3)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_5.addWidget(self.label_9)
        self.output_diam2 = QtGui.QLabel(self.layoutWidget_3)
        self.output_diam2.setFrameShape(QtGui.QFrame.Box)
        self.output_diam2.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_diam2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_diam2.setObjectName("output_diam2")
        self.horizontalLayout_5.addWidget(self.output_diam2)
        self.label_10 = QtGui.QLabel(self.layoutWidget_3)
        self.label_10.setObjectName("label_10")
        self.horizontalLayout_5.addWidget(self.label_10)
        self.layoutWidget_4 = QtGui.QWidget(self.groupBox_2)
        self.layoutWidget_4.setGeometry(QtCore.QRect(30, 130, 161, 41))
        self.layoutWidget_4.setObjectName("layoutWidget_4")
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.layoutWidget_4)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_11 = QtGui.QLabel(self.layoutWidget_4)
        self.label_11.setObjectName("label_11")
        self.horizontalLayout_6.addWidget(self.label_11)
        self.output_width2 = QtGui.QLabel(self.layoutWidget_4)
        self.output_width2.setFrameShape(QtGui.QFrame.Box)
        self.output_width2.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_width2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_width2.setObjectName("output_width2")
        self.horizontalLayout_6.addWidget(self.output_width2)
        self.label_12 = QtGui.QLabel(self.layoutWidget_4)
        self.label_12.setObjectName("label_12")
        self.horizontalLayout_6.addWidget(self.label_12)
        self.layoutWidget_5 = QtGui.QWidget(self.groupBox_2)
        self.layoutWidget_5.setGeometry(QtCore.QRect(30, 30, 161, 41))
        self.layoutWidget_5.setObjectName("layoutWidget_5")
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.layoutWidget_5)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_13 = QtGui.QLabel(self.layoutWidget_5)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_7.addWidget(self.label_13)
        self.output_amount2 = QtGui.QLabel(self.layoutWidget_5)
        self.output_amount2.setFrameShape(QtGui.QFrame.Box)
        self.output_amount2.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_amount2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_amount2.setObjectName("output_amount2")
        self.horizontalLayout_7.addWidget(self.output_amount2)
        self.label_14 = QtGui.QLabel(self.layoutWidget_5)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_7.addWidget(self.label_14)
        self.layoutWidget_7 = QtGui.QWidget(self.groupBox_2)
        self.layoutWidget_7.setGeometry(QtCore.QRect(30, 180, 161, 41))
        self.layoutWidget_7.setObjectName("layoutWidget_7")
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.layoutWidget_7)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.label_17 = QtGui.QLabel(self.layoutWidget_7)
        self.label_17.setObjectName("label_17")
        self.horizontalLayout_9.addWidget(self.label_17)
        self.output_weight2 = QtGui.QLabel(self.layoutWidget_7)
        self.output_weight2.setFrameShape(QtGui.QFrame.Box)
        self.output_weight2.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_weight2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_weight2.setObjectName("output_weight2")
        self.horizontalLayout_9.addWidget(self.output_weight2)
        self.label_18 = QtGui.QLabel(self.layoutWidget_7)
        self.label_18.setObjectName("label_18")
        self.horizontalLayout_9.addWidget(self.label_18)
        self.copy2 = QtGui.QPushButton(self.groupBox_2)
        self.copy2.setGeometry(QtCore.QRect(50, 230, 131, 41))
        self.copy2.setObjectName("copy2")
        self.output_money = QtGui.QLabel(widget)
        self.output_money.setGeometry(QtCore.QRect(310, 20, 45, 39))
        self.output_money.setFrameShape(QtGui.QFrame.Box)
        self.output_money.setFrameShadow(QtGui.QFrame.Sunken)
        self.output_money.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.output_money.setObjectName("output_money")
        self.label_20 = QtGui.QLabel(widget)
        self.label_20.setGeometry(QtCore.QRect(360, 20, 46, 39))
        self.label_20.setObjectName("label_20")

        self.retranslateUi(widget)
        QtCore.QMetaObject.connectSlotsByName(widget)

    def retranslateUi(self, widget):
        widget.setWindowTitle(QtGui.QApplication.translate("widget", "标签纸计算", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("widget", "商业机型", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("widget", "直径", None, QtGui.QApplication.UnicodeUTF8))
        self.output_diam1.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("widget", "mm/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("widget", "宽度", None, QtGui.QApplication.UnicodeUTF8))
        self.output_width1.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("widget", "mm/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("widget", "标签", None, QtGui.QApplication.UnicodeUTF8))
        self.output_amount1.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("widget", "张/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("widget", "重量", None, QtGui.QApplication.UnicodeUTF8))
        self.output_weight1.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("widget", "kg/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.copy1.setText(QtGui.QApplication.translate("widget", "复制", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("widget", "长", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("widget", "宽", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(QtGui.QApplication.translate("widget", "排数", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("widget", "工业机型", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("widget", "直径", None, QtGui.QApplication.UnicodeUTF8))
        self.output_diam2.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("widget", "mm/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("widget", "宽度", None, QtGui.QApplication.UnicodeUTF8))
        self.output_width2.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("widget", "mm/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("widget", "标签", None, QtGui.QApplication.UnicodeUTF8))
        self.output_amount2.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("widget", "张/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("widget", "重量", None, QtGui.QApplication.UnicodeUTF8))
        self.output_weight2.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(QtGui.QApplication.translate("widget", "kg/卷", None, QtGui.QApplication.UnicodeUTF8))
        self.copy2.setText(QtGui.QApplication.translate("widget", "复制", None, QtGui.QApplication.UnicodeUTF8))
        self.output_money.setText(QtGui.QApplication.translate("widget", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("widget", "元", None, QtGui.QApplication.UnicodeUTF8))

